package ticketing_system.Factory;

public class Student extends User{
    @Override
        public Double price() {
            double res = super.price();
            double price = res * 0.6;
            System.out.println("您需要支付:"+price+"元");
            return price;
    }
}
